<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="text" name="web">
    <script>
// let input=document.querySelector(`[name="web"]`);
// input.addEventListener("keyup",(e)=>{
//      let value=e.currentTarget.value;
//      console.log(value);
//      console.log(/^[0-9]{3}#$/.test(value));
// })
console.log(/^\d{10}$/g.test("1362941253"));
    </script>
</body>
</html>